package xin.yangshuai.springsecurity01.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import xin.yangshuai.springsecurity01.model.SpringSecurityUser;
import xin.yangshuai.springsecurity01.model.SpringSecurityUserExample;

public interface SpringSecurityUserMapper {
    long countByExample(SpringSecurityUserExample example);

    int deleteByExample(SpringSecurityUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SpringSecurityUser record);

    int insertSelective(SpringSecurityUser record);

    List<SpringSecurityUser> selectByExample(SpringSecurityUserExample example);

    SpringSecurityUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SpringSecurityUser record, @Param("example") SpringSecurityUserExample example);

    int updateByExample(@Param("record") SpringSecurityUser record, @Param("example") SpringSecurityUserExample example);

    int updateByPrimaryKeySelective(SpringSecurityUser record);

    int updateByPrimaryKey(SpringSecurityUser record);
}